﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProductAdd.aspx.cs" Inherits="CreateStaticHtml.Pages.ProductAdd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="min-height: 600px;">
        <%
            if (IsLogin)
            {
        %>
        <h2>
            添加项目
        </h2>
        <p>
            请输入项目名称。
            <asp:HyperLink ID="RegisterHyperLink" runat="server" EnableViewState="false">返回</asp:HyperLink>
        </p>
        <span class="failureNotification">
            <asp:Literal ID="FailureText" runat="server"></asp:Literal>
        </span>
        <div class="accountInfo">
            <fieldset class="login">
                <legend>项目信息</legend>
                <p>
                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">项目名称:</asp:Label>
                    <asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox>
                </p>
            </fieldset>
            <p class="submitButton">
                <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="确定" OnClick="LoginButton_Click"
                    ValidationGroup="LoginUserValidationGroup" />
            </p>
        </div>
        <%
            }
        %>
    </div>
</asp:Content>
